cask 'virustotaluploader' do
  version '1.3'
  sha256 '6009c81e0d87b64f56e64ff3137f37fe61ae3b9b792b3700b37e4c55473da5d4'

  url "https://www.virustotal.com/static/bin/VirusTotalUploader_#{version}.dmg"
  appcast 'https://www.virustotal.com/en/documentation/desktop-applications/mac-osx-uploader'
  name 'VirusTotalUploader'
  homepage 'https://www.virustotal.com/'

  app 'VirusTotalUploader.app'

  zap trash: [
               '~/Library/Preferences/com.virustotal.VirusTotal Uploader.plist',
               '~/Library/Saved Application State/com.virustotal.VirusTotalUploader.savedState',
             ]
end
